Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dry-run to labelanalysis #183

Merged
merged 1 commit into from
Jun 23, 2023
Merged

Conversation

giovanni-guidini
Copy link
Contributor

This change comes as a request of sentry infra team to increaase our chances of merging ATS into getsentry initially.
The --dry-run option simply stops label analysis after collecting labels and prints them in the terminal. Yes, there are
other ways that you can achieve the same result (e.g. custom runner), but this is more straight forward.
It might be marginally useful when setting up or building confidence of label analysis for customers interested in the feature,
so why not?

I decided to add a brief explanation to what each label group is, since we have that opportunity here.

@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Merging #183 (fa94034) into master (1776cc4) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #183      +/-   ##
==========================================
+ Coverage   95.46%   95.49%   +0.02%     
==========================================
  Files          69       69              
  Lines        2427     2443      +16     
==========================================
+ Hits         2317     2333      +16     
  Misses        110      110              
Flag Coverage Δ
python3.10 95.49% <100.00%> (+0.02%) ⬆️
python3.7 95.49% <100.00%> (+0.02%) ⬆️
python3.8 95.49% <100.00%> (+0.02%) ⬆️
python3.9 95.49% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
codecov_cli/commands/labelanalysis.py 93.47% <100.00%> (+1.37%) ⬆️

This change comes as a request of sentry infra team to increaase our chances of merging ATS into getsentry initially.
The `--dry-run` option simply stops label analysis after collecting labels and prints them in the terminal. Yes, there are
other ways that you can achieve the same result (e.g. custom runner), but this is more straight forward.
It might be marginally useful when setting up or building confidence of label analysis for customers interested in the feature,
so why not?

I decided to add a brief explanation to what each label group is, since we have that opportunity here.
@giovanni-guidini giovanni-guidini merged commit 3ec2716 into master Jun 23, 2023
7 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/dry-run-labelanalysis branch June 23, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants